<!DOCTYPE html>
<!--
This file is part of Cockpit.

Copyright (C) 2015 Red Hat, Inc.

Cockpit is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

Cockpit is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with Cockpit; If not, see <http://www.gnu.org/licenses/>.
-->
<html>

<head>
  <title translate>Journal</title>
  <meta charset="utf-8">
  <link href="../base1/patternfly.css" rel="stylesheet">
  <link href="logs.css" rel="stylesheet">
  <script type="text/javascript" src="../base1/jquery.js"></script>
  <script type="text/javascript" src="../base1/cockpit.js"></script>
  <script src="../*/po.js"></script>
</head>

<body class="pf-m-redhat-font">
  <div id="journal">
    <div class="content-header-extra">
      <div class="btn-group" id="journal-current-day-menu">
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
          <span id="journal-current-day"></span>
          <i class="fa fa-caret-down pf-c-context-selector__toggle-icon" aria-hidden="true"></i>
        </button>
        <ul class="dropdown-menu" role="menu">
          <li><a role="link" tabindex="0" data-op="recent" translate="yes">Recent</a></li>
          <li><a role="link" tabindex="0" data-op="boot" translate="yes">Current boot</a></li>
          <li><a role="link" tabindex="0" data-op="previous-boot" translate="yes">Previous boot</a></li>
          <li><a role="link" tabindex="0" data-op="last-24h" translate="yes">Last 24 hours</a></li>
          <li><a role="link" tabindex="0" data-op="last-week" translate="yes">Last 7 days</a></li>
        </ul>
      </div>
      <span class="" translate>Severity</span>
      <div class="btn-group" id="journal-prio-menu">
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
          <span id="journal-prio"></span>
          <i class="fa fa-caret-down pf-c-context-selector__toggle-icon" aria-hidden="true"></i>
        </button>
        <ul id="prio-lists" class="dropdown-menu" role="menu">
          <li><a role="link" tabindex="0" data-prio="*" translate="yes">Everything</a></li>
          <li><a role="link" tabindex="0" data-prio="0" translate="yes">Only Emergency</a></li>
          <li><a role="link" tabindex="0" data-prio="1" translate="yes">Alert and above</a></li>
          <li><a role="link" tabindex="0" data-prio="2" translate="yes">Critical and above</a></li>
          <li><a role="link" tabindex="0" data-prio="3" translate="yes">Error and above</a></li>
          <li><a role="link" tabindex="0" data-prio="4" translate="yes">Warning and above</a></li>
          <li><a role="link" tabindex="0" data-prio="5" translate="yes">Notice and above</a></li>
          <li><a role="link" tabindex="0" data-prio="6" translate="yes">Info and above</a></li>
          <li><a role="link" tabindex="0" data-prio="7" translate="yes">Debug and above</a></li>
        </ul>
      </div>
      <span translate="yes">Service</span>
      <div class="btn-group" id="journal-service-menu">
        <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
          <span id="journal-service"></span>
          <i class="fa fa-caret-down pf-c-context-selector__toggle-icon" aria-hidden="true"></i>
        </button>
        <ul id="journal-services-list" class="dropdown-menu" role="menu">
        </ul>
      </div>
    </div>

    <div id="journal-box" class="container-fluid"></div>
  </div>

  <div id="journal-entry" class="container-fluid" hidden>
    <ol class="breadcrumb">
      <li><a role="link" tabindex="0" id="journal-navigate-home" translate="yes">Logs</a></li>
      <li id="journal-entry-crumb" class="active" translate="yes">Entry</li>
    </ol>
    <h2 id="journal-entry-heading"></h2>
    <table class="info-table-ct panel panel-default" id="journal-entry-fields">
    </table>
  </div>

  <script type="text/javascript" src="logs.js"></script>
</body>

</html>

